package com.example.demo.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.example.demo.custom.BaseRepository;
import com.example.demo.entity.TargetAndBackMonkey;
import com.example.demo.entity.TargetAndBackMonkey2;
@Repository
public interface TargetAndBackMonkeyRepository2 extends BaseRepository<TargetAndBackMonkey2, Integer>{

	List<TargetAndBackMonkey2> findByTarget(TargetAndBackMonkey sale1);

	List<TargetAndBackMonkey2> findByMonthAndYears(Integer month, Integer years);

	List<TargetAndBackMonkey2> findBytargetId(Integer id);


}
